MailerLite\Includes\Shared\Api\MailerLiteClassicAPI A

Total Complexity 64
Dependencies 1
Dependents 1
Total lines 987
Lines of code 259
Logical lines of code 102
Comment lines 518
Methods 55
Properties 4

Methods 55

Method Rating Maintainability Complexity Lines of code
parseResponse()
S
57 5 18
getDoubleOptin()
S
67 3 8
setDoubleOptin()
S
66 3 8
validateKey()
S
62 2 11
setConsumerData()
S
60 1 13
deleteOrder()
S
82 1 3
updateOrder()
S
82 1 3
syncProduct()
S
82 1 3
replaceProductCategories()
S
82 1 3
importProducts()
S
82 1 3
deleteProduct()
S
82 1 3
syncCategory()
S
82 1 3
importCategories()
S
82 1 3
deleteCategory()
S
82 1 3
syncCustomer()
S
78 1 3
deleteCustomer()
S
82 1 3
updateCustomer()
S
82 1 3
importCustomers()
S
82 1 3
fetchCustomer()
S
82 1 3
updateCart()
S
82 1 3
addCartItem()
S
82 1 3
replaceCartItems()
S
82 1 3
getCartItems()
S
82 1 3
deleteCartItem()
S
82 1 3
batch()
S
82 1 3
createGroup()
S
70 1 6
getResponseBody()
S
82 1 3
responseCode()
S
82 1 3
syncOrder()
S
82 1 3
__construct()
S
68 1 7
importOrders()
S
82 1 3
syncCustomerWooCommerce()
S
67 1 8
updateSubscriber()
S
74 1 4
updateSubscriberStatus()
S
82 1 3
searchSubscriber()
S
75 1 4
getGroups()
S
75 1 4
getGroupById()
S
75 1 4
checkMoreGroups()
S
67 1 7
getMoreGroups()
S
67 1 7
getFields()
S
75 1 4
createField()
S
68 1 7
updateField()
S
70 1 6
sendSubscriberData()
S
74 1 4
fetchOrder()
S
82 1 3
saveOrder()
S
68 1 7
sendOrderProcessing()
S
74 1 4
sendCart()
S
68 1 7
toggleShop()
S
66 1 8
getShopSettings()
S
71 1 5
validateAccount()
S
76 1 4
getAccountDetails()
S
76 1 4
getShops()
S
82 1 3
getShop()
S
82 1 3
createShop()
S
82 1 3
deleteShop()
S
82 1 3